package com.clever.mall.commons.dto;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author ChenWang
 * @className OtherUserRequestParam
 * @date 2020/11/12 14:38
 * @since JDK 1.8
 */
@Data
public class TwoUserRequestParam {
    /**
     * 当前用户的请求数据
     */
    private UserRequestParam userRequestParam;
    /**
     * 他人用户的请求数据
     */
    @NotNull
    @Valid
    private UserRequestParam otherUserRequestParam;
}
